import Vue from 'vue';
import Router from 'vue-router';
import Home from './views/Home.vue';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home,
    },
    {
      path: '/market',
      name: 'market',
      component: () => import('./views/market.vue'),
    },
      {
          path: '/mycenter',
          name: 'mycenter',
          component: () => import( './views/my/mycenter.vue'),
      },
      {
          path: '/myclicklogin',
          name: 'myclicklogin',
          component: () => import( './views/my/myclicklogin.vue'),
      },
      {
          path: '/mylogin',
          name: 'mylogin',
          component: () => import( './views/my/mylogin.vue'),
      },
      {
          path: '/myset',
          name: 'myset',
          component: () => import( './views/my/myset.vue'),
      },
      {
          path: '/myfocus',
          name: 'myfocus',
          component: () => import( './views/my/myfocus.vue'),
      },
      {
          path: '/mypay',
          name: 'mypay',
          component: () => import( './views/my/mypay.vue'),
      },

  ],
});
